package com.learn.spring.event.order;

import com.learn.spring.event.message.PlaceOrderEventMessage;
import org.springframework.context.ApplicationEvent;

/**
 * 自定义事件
 * <p>
 * PlaceOrderEvent：继承ApplicationEvent，并重写构造函数。ApplicationEvent是Spring提供的所有应用程序事件扩展类。
 * </p>
 *
 * @author cong zhi
 * @email 448341911@qq.com
 * @createDate 2023/3/20 17:04
 * @version: v1.0
 */
public class PlaceOrderEvent extends ApplicationEvent {

    public PlaceOrderEvent(PlaceOrderEventMessage source) {
        super(source);
    }
}
